﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Common.Master" AutoEventWireup="true"
    CodeBehind="ResourceRequestRecordList.aspx.cs" Inherits="Web.Views.ResourceRequestManage.ResourceRequestRecordList" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <script src="../../Javascript/UserControls.js" type="text/javascript"></script>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div id="tt" class="easyui-tabs" border="false">
        <div title="进行中审核申请">
            <div style="overflow: hidden;">
                <ep:EPGridView ID="gv_ResoureRequestRecordListOrginal" runat="server" Width="100%"
                    AutoGenerateColumns="False" dataSortExpression="" EnableEmptyContentRender="True"
                    AllowPaging="False" EnableModelValidation="True" Goto="0" GvPageCount="0" ShowCheckBox="false"
                    OnRowDataBound="gv_ResoureRequestRecordListDisAgree_RowDataBound">
                    <Columns>
                        <asp:BoundField DataField="ID" Visible="false" />
                        <asp:HyperLinkField HeaderText="文件名" HeaderStyle-Width="15%" DataTextField="DataFileName"
                            DataNavigateUrlFormatString="ResourceRequestWellView.aspx?ID={0}" DataNavigateUrlFields="ID"
                            ItemStyle-HorizontalAlign="Center" />
                        <asp:BoundField HeaderText="过期日期" DataField="validperiod" HeaderStyle-Width="7%"
                            ItemStyle-HorizontalAlign="Center" DataFormatString="{0: yyyy-MM-dd}">
                            <HeaderStyle Width="7%"></HeaderStyle>
                            <ItemStyle HorizontalAlign="Center"></ItemStyle>
                        </asp:BoundField>
                        <asp:BoundField HeaderText="申请日期" DataField="createtime" HeaderStyle-Width="7%" ItemStyle-HorizontalAlign="Center"
                            DataFormatString="{0: yyyy-MM-dd}">
                            <HeaderStyle Width="7%"></HeaderStyle>
                            <ItemStyle HorizontalAlign="Center"></ItemStyle>
                        </asp:BoundField>
                        <asp:BoundField HeaderText="能否下载" DataField="candownload" HeaderStyle-Width="7%"
                            ItemStyle-HorizontalAlign="Center">
                            <HeaderStyle Width="7%"></HeaderStyle>
                            <ItemStyle HorizontalAlign="Center"></ItemStyle>
                        </asp:BoundField>
                        <asp:BoundField HeaderText="能否浏览" DataField="canview" HeaderStyle-Width="7%" ItemStyle-HorizontalAlign="Center">
                            <HeaderStyle Width="7%"></HeaderStyle>
                            <ItemStyle HorizontalAlign="Center"></ItemStyle>
                        </asp:BoundField>
                    </Columns>
                </ep:EPGridView>
                <ep:AspNetPager SubmitButtonText=" GO " ID="AspNetPagerOrginal" Height="26px" Width="100%"
                    CssClass="yahoo2" runat="server" PageSize="10" LayoutType="Table" ShowCustomInfoSection="Right"
                    CustomInfoClass="custom" CustomInfoStyle=" clear:both;" ShowPageIndexBox="Always"
                    SubmitButtonImageUrl="../Images/go.png" ShowPageIndex="true" PageIndexBoxType="TextBox"
                    CustomInfoHTML="第 %CurrentPageIndex% 页，共 %PageCount% 页，每页显示 %PageSize% 条，共 %RecordCount% 条"
                    OnPageChanging="AspNetPagerOrginal_PageChanging" AlwaysShow="false">
                </ep:AspNetPager>
            </div>
        </div>
        <div title="已通过审核申请">
            <div style="overflow: hidden;">
                <ep:EPGridView ID="gv_ResoureRequestRecordListAgree" runat="server" Width="100%"
                    AutoGenerateColumns="False" dataSortExpression="" EnableEmptyContentRender="True"
                    AllowPaging="False" EnableModelValidation="True" Goto="0" GvPageCount="0" ShowCheckBox="false"
                    OnRowDataBound="gv_ResoureRequestRecordListAgree_RowDataBound">
                    <Columns>
                        <asp:BoundField DataField="ID" Visible="false" />
                        <asp:HyperLinkField HeaderText="文件名" HeaderStyle-Width="15%" DataTextField="DataFileName"
                            DataNavigateUrlFormatString="ResourceRequestWellView.aspx?ID={0}" DataNavigateUrlFields="ID"
                            ItemStyle-HorizontalAlign="Center" />
                        <asp:BoundField HeaderText="过期日期" DataField="validperiod" HeaderStyle-Width="7%"
                            ItemStyle-HorizontalAlign="Center" DataFormatString="{0: yyyy-MM-dd}">
                            <HeaderStyle Width="7%"></HeaderStyle>
                            <ItemStyle HorizontalAlign="Center"></ItemStyle>
                        </asp:BoundField>
                        <asp:BoundField HeaderText="申请日期" DataField="createtime" HeaderStyle-Width="7%" ItemStyle-HorizontalAlign="Center"
                            DataFormatString="{0: yyyy-MM-dd}">
                            <HeaderStyle Width="7%"></HeaderStyle>
                            <ItemStyle HorizontalAlign="Center"></ItemStyle>
                        </asp:BoundField>
                        <asp:HyperLinkField HeaderText="能否下载" HeaderStyle-Width="4%" DataTextField="candownload"
                            NavigateUrl="" ItemStyle-HorizontalAlign="Center" DataNavigateUrlFormatString="ResourceRequestManagerExam.aspx?querytype=1&ID={0}"
                            Target="_blank" DataNavigateUrlFields="ID" />
                        <asp:HyperLinkField HeaderText="能否浏览" HeaderStyle-Width="4%" DataTextField="canview"
                            NavigateUrl="" ItemStyle-HorizontalAlign="Center" DataNavigateUrlFormatString="ResourceRequestManagerExam.aspx?querytype=1&ID={0}"
                            Target="_blank" DataNavigateUrlFields="ID" />
                    </Columns>
                </ep:EPGridView>
                <ep:AspNetPager SubmitButtonText=" GO " ID="pagerAgree" Height="26px" Width="100%"
                    CssClass="yahoo2" runat="server" PageSize="10" LayoutType="Table" ShowCustomInfoSection="Right"
                    CustomInfoClass="custom" CustomInfoStyle=" clear:both;" ShowPageIndexBox="Always"
                    SubmitButtonImageUrl="../Images/go.png" ShowPageIndex="true" PageIndexBoxType="TextBox"
                    CustomInfoHTML="第 %CurrentPageIndex% 页，共 %PageCount% 页，每页显示 %PageSize% 条，共 %RecordCount% 条"
                    OnPageChanging="pagerAgree_PageChanging" AlwaysShow="false">
                </ep:AspNetPager>
            </div>
        </div>
        <div title="未通过审核申请">
            <div style="overflow: hidden;">
                <ep:EPGridView ID="gv_ResoureRequestRecordListDisAgree" runat="server" Width="100%"
                    AutoGenerateColumns="False" dataSortExpression="" EnableEmptyContentRender="True"
                    AllowPaging="False" EnableModelValidation="True" Goto="0" GvPageCount="0" ShowCheckBox="false"
                    OnRowDataBound="gv_ResoureRequestRecordListDisAgree_RowDataBound">
                    <Columns>
                        <asp:BoundField DataField="ID" Visible="false" />
                        <asp:HyperLinkField HeaderText="文件名" HeaderStyle-Width="15%" DataTextField="DataFileName"
                            DataNavigateUrlFormatString="ResourceRequestWellView.aspx?ID={0}" DataNavigateUrlFields="ID"
                            ItemStyle-HorizontalAlign="Center" />
                        <asp:BoundField HeaderText="过期日期" DataField="validperiod" HeaderStyle-Width="7%"
                            ItemStyle-HorizontalAlign="Center" DataFormatString="{0: yyyy-MM-dd}">
                            <HeaderStyle Width="7%"></HeaderStyle>
                            <ItemStyle HorizontalAlign="Center"></ItemStyle>
                        </asp:BoundField>
                        <asp:BoundField HeaderText="申请日期" DataField="createtime" HeaderStyle-Width="7%" ItemStyle-HorizontalAlign="Center"
                            DataFormatString="{0: yyyy-MM-dd}">
                            <HeaderStyle Width="7%"></HeaderStyle>
                            <ItemStyle HorizontalAlign="Center"></ItemStyle>
                        </asp:BoundField>
                        <asp:BoundField HeaderText="能否下载" DataField="candownload" HeaderStyle-Width="7%"
                            ItemStyle-HorizontalAlign="Center">
                            <HeaderStyle Width="7%"></HeaderStyle>
                            <ItemStyle HorizontalAlign="Center"></ItemStyle>
                        </asp:BoundField>
                        <asp:BoundField HeaderText="能否浏览" DataField="canview" HeaderStyle-Width="7%" ItemStyle-HorizontalAlign="Center">
                            <HeaderStyle Width="7%"></HeaderStyle>
                            <ItemStyle HorizontalAlign="Center"></ItemStyle>
                        </asp:BoundField>
                    </Columns>
                </ep:EPGridView>
                <ep:AspNetPager SubmitButtonText=" GO " ID="AspNetPagerDisAgree" Height="26px" Width="100%"
                    CssClass="yahoo2" runat="server" PageSize="10" LayoutType="Table" ShowCustomInfoSection="Right"
                    CustomInfoClass="custom" CustomInfoStyle=" clear:both;" ShowPageIndexBox="Always"
                    SubmitButtonImageUrl="../Images/go.png" ShowPageIndex="true" PageIndexBoxType="TextBox"
                    CustomInfoHTML="第 %CurrentPageIndex% 页，共 %PageCount% 页，每页显示 %PageSize% 条，共 %RecordCount% 条"
                    OnPageChanging="AspNetPagerDisAgree_PageChanging" AlwaysShow="false">
                </ep:AspNetPager>
            </div>
        </div>
    </div>
</asp:Content>
